import request from '@/utils/request'

export default{

  updata(dataForm)
  {
    return request(
      {
        url: `/research/data`,
        method: 'post',
        data:dataForm,
      }
    )
  },

  updateData(dataForm)
  {
    return request(
      {
        url: `/research/data`,
        method: 'put',
        params:dataForm,
      }
    )


  },


  getTesteeVisitExperiment(testeeNo)
  {
    return request({
      url: `/research/data/getTesteeVisitExperiment`,
      method: 'GET',
      params:{
        testeeNo:testeeNo
      }
    })


    },


    getByDataId(id)
    {
      return request({
        url: `/research/data/${id}`,
        method: 'GET',
      })



    },

    deleteData(id)
    {
      return request({
        url: `/research/data/delete/${id}`,
        method: 'POST',
      })


    }





}
